package com.hspedu.newData.dmsxl.ds;
/**
 * @Author: yh
 * @description: 
 * @CreateTime: 2025-04-23 
 * @Version: 1.0
 */

public class TreeNode {

    public int val;
    public TreeNode left;
    public TreeNode right;

    public TreeNode() {
    }

    public TreeNode(int val) {
        this.val = val;
    }

    public TreeNode(int val, TreeNode leftTreeNode, TreeNode rightTreeNode) {
        this.val = val;
        this.left = leftTreeNode;
        this.right = rightTreeNode;
    }
}
